﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006D5 RID: 1749
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFirstTalkByPerformanceNpcCsReq : IMessage<GetFirstTalkByPerformanceNpcCsReq>, IMessage, IEquatable<GetFirstTalkByPerformanceNpcCsReq>, IDeepCloneable<GetFirstTalkByPerformanceNpcCsReq>, IBufferMessage
	{
		// Token: 0x1700167B RID: 5755
		// (get) Token: 0x06004ECB RID: 20171 RVA: 0x000D6E81 File Offset: 0x000D5081
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFirstTalkByPerformanceNpcCsReq> Parser
		{
			get
			{
				return GetFirstTalkByPerformanceNpcCsReq._parser;
			}
		}

		// Token: 0x1700167C RID: 5756
		// (get) Token: 0x06004ECC RID: 20172 RVA: 0x000D6E88 File Offset: 0x000D5088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFirstTalkByPerformanceNpcCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700167D RID: 5757
		// (get) Token: 0x06004ECD RID: 20173 RVA: 0x000D6E9A File Offset: 0x000D509A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFirstTalkByPerformanceNpcCsReq.Descriptor;
			}
		}

		// Token: 0x06004ECE RID: 20174 RVA: 0x000D6EA1 File Offset: 0x000D50A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkByPerformanceNpcCsReq()
		{
		}

		// Token: 0x06004ECF RID: 20175 RVA: 0x000D6EB4 File Offset: 0x000D50B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkByPerformanceNpcCsReq(GetFirstTalkByPerformanceNpcCsReq other) : this()
		{
			this.performanceIdList_ = other.performanceIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004ED0 RID: 20176 RVA: 0x000D6EDE File Offset: 0x000D50DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkByPerformanceNpcCsReq Clone()
		{
			return new GetFirstTalkByPerformanceNpcCsReq(this);
		}

		// Token: 0x1700167E RID: 5758
		// (get) Token: 0x06004ED1 RID: 20177 RVA: 0x000D6EE6 File Offset: 0x000D50E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> PerformanceIdList
		{
			get
			{
				return this.performanceIdList_;
			}
		}

		// Token: 0x06004ED2 RID: 20178 RVA: 0x000D6EEE File Offset: 0x000D50EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFirstTalkByPerformanceNpcCsReq);
		}

		// Token: 0x06004ED3 RID: 20179 RVA: 0x000D6EFC File Offset: 0x000D50FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFirstTalkByPerformanceNpcCsReq other)
		{
			return other != null && (other == this || (this.performanceIdList_.Equals(other.performanceIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004ED4 RID: 20180 RVA: 0x000D6F30 File Offset: 0x000D5130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.performanceIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004ED5 RID: 20181 RVA: 0x000D6F64 File Offset: 0x000D5164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004ED6 RID: 20182 RVA: 0x000D6F6C File Offset: 0x000D516C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004ED7 RID: 20183 RVA: 0x000D6F75 File Offset: 0x000D5175
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.performanceIdList_.WriteTo(ref output, GetFirstTalkByPerformanceNpcCsReq._repeated_performanceIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004ED8 RID: 20184 RVA: 0x000D6F9C File Offset: 0x000D519C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.performanceIdList_.CalculateSize(GetFirstTalkByPerformanceNpcCsReq._repeated_performanceIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004ED9 RID: 20185 RVA: 0x000D6FD5 File Offset: 0x000D51D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFirstTalkByPerformanceNpcCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.performanceIdList_.Add(other.performanceIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004EDA RID: 20186 RVA: 0x000D7003 File Offset: 0x000D5203
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004EDB RID: 20187 RVA: 0x000D700C File Offset: 0x000D520C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U && num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.performanceIdList_.AddEntriesFrom(ref input, GetFirstTalkByPerformanceNpcCsReq._repeated_performanceIdList_codec);
				}
			}
		}

		// Token: 0x04001F05 RID: 7941
		private static readonly MessageParser<GetFirstTalkByPerformanceNpcCsReq> _parser = new MessageParser<GetFirstTalkByPerformanceNpcCsReq>(() => new GetFirstTalkByPerformanceNpcCsReq());

		// Token: 0x04001F06 RID: 7942
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F07 RID: 7943
		public const int PerformanceIdListFieldNumber = 2;

		// Token: 0x04001F08 RID: 7944
		private static readonly FieldCodec<uint> _repeated_performanceIdList_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x04001F09 RID: 7945
		private readonly RepeatedField<uint> performanceIdList_ = new RepeatedField<uint>();
	}
}
